const String base_url = "https://www.wanandroid.com";

///文章列表url
String getArticlesUrl(int page) {
  return "$base_url/article/list/$page/json";
}

///banner数据
String getBannerUrl() => "$base_url/banner/json";

///导航数据
String getNavUrl() => "$base_url/navi/json";

///搜索热词
String getHotSearchWords() => "$base_url/hotkey/json";

///搜索
String getSearchUrl(int page) => "$base_url/article/query/$page/json";
